﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PowerHub.MES.Entities.Shopfloor;

/// <summary>
/// 仓
/// </summary>
[Table("Shopfloor_Storage")]
public partial class Shopfloor_Storage : BaseEntity
{

    /// <summary>
    /// 仓库编号
    /// </summary>
    public string StorageNo { get; set; } = null!;
    /// <summary>
    /// 仓库名称
    /// </summary>
    public string StorageName { get; set; } = null!;
    /// <summary>
    /// *基地外键
    /// </summary>
    public string FoundationId { get; set; } = null!;

    /// <summary>
    ///地址
    /// </summary>
    public string? Address { get; set; }



    public virtual Shopfloor_Foundation Foundation { get; set; } = null!;

    //public virtual ICollection<Shopfloor_Workshopinfo> ShopfloorWorkshopinfos { get; set; } = new List<Shopfloor_Workshopinfo>();
}
